/**
 * Created with CLion.
 * Description: 
 * User: loong
 * Date: 2020-12-15
 * Time: 15:31
 */
#ifndef AUTOUPDATE_DOWNLOADER_H
#define AUTOUPDATE_DOWNLOADER_H

#include <QDialog>
#include <QProgressBar>
#include <QDialogButtonBox>
#include <QVBoxLayout>
#include <QDebug>

class DownLoader
        : public QDialog
{
Q_OBJECT

public:
    explicit DownLoader(QDialog *parent = nullptr);

    ~DownLoader() override = default;


public slots:

    void SetProgressValue(int _value);

private:
    void InitUi();

    void InitEvent();

private:
    QProgressBar *progressBar_;
    QDialogButtonBox *buttonBox_;
};

#endif //AUTOUPDATE_DOWNLOADER_H
